﻿using RAP.Framework.Libary.DataSource.Model;
using RAP.Framework.Libary.DataSource.Model.Attribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace RAP.Web.Core.Server.Model.Test
{
	/// <summary>
	/// 城市
	/// </summary>
	public class City : NamedDataModel
	{
		/// <summary>
		/// 测试懒加载
		/// </summary>
		[Lazyload]
		public virtual IList<School> Schools { get; set; }

		/// <summary>
		/// 市长，测试@mapping
		/// </summary>
		public People Mayor { get; set; }

		/// <summary>
		/// 公园集合
		/// </summary>
		public IList<Park> Parks { get; set; }
	}
}
